MARG := "all"
MFILES = $(patsubst %/,%,$(dir $(wildcard */Makefile)))
.PHONY: all $(MFILES)

all: $(MFILES)

clean:
	make MARG=clean
	rm -f *~ tarlist *.o
tarlist: all
	gcc -I . tarlist.c */*.o -o tarlist
$(MFILES):
	make $(MARG) -C $@

